import http from "@/api";

export const getModuleListApi = async (data) => await http.get('module/list',data)

export const addModuleApi = async (data) => await http.post('module/add/save',data)

export const deleteModuleApi = async (id) => await http.post(`module/delete/${id}`)

export const updateModuleApi = async (data) => await http.post('module/edit/save',data)

export const getModuleDetailApi = async (id) => await http.get(`module/${id}`)


